package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * @author huangpengfei
 */
@Data
@TableName("mall_commodity_evaluation")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Schema(description= "商品评价表")
public class MallCommodityEvaluation extends BaseFormInfo<MallCommodityEvaluation> {
    @Serial
    private static final long serialVersionUID = 641655770L;
	@Schema(description =  "星级")
	private Integer star;

	@Schema(description =  "内容")
	private String content;

	@Schema(description =  "图片")
	private String image;

	@Schema(description =  "订单id")
	private String orderGuid;

	@Schema(description =  "商品规格id")
	private String commoditySpecificationGuid;

	@Schema(description =  "商品字典id")
	private String commodityGuid;

	@Schema(description =  "买家id")
	private String customerGuid;
}
